package com.qinggeng.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qinggeng.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import com.qinggeng.framework.web.domain.BaseEntity;

/**
 * 配送点对象 distribution_point
 * 
 * @author qinggeng
 * @date 2020-06-16
 */
@Data
public class DistributionPoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配送点ID */
    private Long id;

    /** 商户编号 */
    @Excel(name = "商户编号")
    private Long shopId;

    /** 果果专员Id（-1表示未设置）*/
    @Excel(name="果果专员ID")
    private Long courierId;

    /** 是否启用【10 启用 20 禁用】 */
    @Excel(name = "是否启用【10 启用 20 禁用】")
    private String isOpen;

    /** 配送点名称 */
    @Excel(name = "配送点名称")
    private String pointName;

    /** 配送点电话 */
    @Excel(name = "配送点电话")
    private String pointPhone;

    /** 省名称 */
    @Excel(name = "省名称")
    private String province;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String city;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String area;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 地点经度 */
    @Excel(name = "地点经度")
    private Float lng;

    /** 地点纬度 */
    @Excel(name = "地点纬度")
    private Float lat;

    /** 配送时间 */
    @Excel(name = "配送时间")
    private String businessTime;

    /** 配送下班时间 */
    @Excel(name = "配送下班时间")
    private String closingTime;

    /** 是否删除10=未删除 20=已删除 */
    @Excel(name = "是否删除10=未删除 20=已删除")
    private String delFalg;

    @Excel(name = "城市编码")
    private String cityCode;

    @Excel(name = "分拣区域")
    private String sortArea;

    @Excel(name = "配送点编号")
    private String sortAreaNum;

    @Excel(name = "列表图片")
    private String listImg;

    @Excel(name = "配送点图片")
    private String pointImg;
    //商户名称
    private String name;
    //查询条件
    private String queryName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getCourierId() {
        return courierId;
    }

    public void setCourierId(Long courierId) {
        this.courierId = courierId;
    }

    public String getIsOpen() {
        return isOpen;
    }

    public void setIsOpen(String isOpen) {
        this.isOpen = isOpen;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getPointPhone() {
        return pointPhone;
    }

    public void setPointPhone(String pointPhone) {
        this.pointPhone = pointPhone;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Float getLng() {
        return lng;
    }

    public void setLng(Float lng) {
        this.lng = lng;
    }

    public Float getLat() {
        return lat;
    }

    public void setLat(Float lat) {
        this.lat = lat;
    }

    public String getBusinessTime() {
        return businessTime;
    }

    public void setBusinessTime(String businessTime) {
        this.businessTime = businessTime;
    }

    public String getClosingTime() {
        return closingTime;
    }

    public void setClosingTime(String closingTime) {
        this.closingTime = closingTime;
    }

    public String getDelFalg() {
        return delFalg;
    }

    public void setDelFalg(String delFalg) {
        this.delFalg = delFalg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQueryName() {
        return queryName;
    }

    public void setQueryName(String queryName) {
        this.queryName = queryName;
    }

    public String getSortArea() {
        return sortArea;
    }

    public void setSortArea(String sortArea) {
        this.sortArea = sortArea;
    }

    public String getSortAreaNum() {
        return sortAreaNum;
    }

    public void setSortAreaNum(String sortAreaNum) {
        this.sortAreaNum = sortAreaNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shopId", getShopId())
            .append("courierId",getCourierId())
            .append("isOpen", getIsOpen())
            .append("pointName", getPointName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("address", getAddress())
            .append("lng", getLng())
            .append("lat", getLat())
            .append("businessTime", getBusinessTime())
            .append("closingTime", getClosingTime())
            .append("delFalg", getDelFalg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
